// thm_def.typ
#import "./color_def.typ": *

// =============================================
// 1. 定理环境参数定义
// =============================================
#let env_map = (
  definition: (
    name: "定义",
    counter_el: counter("def-counter"),
    color: colors.definition,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  theorem: (
    name: "定理",
    counter_el: counter("thm-counter"),
    color: colors.theorem,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  lemma: (
    name: "引理",
    counter_el: counter("thm-counter"),
    color: colors.theorem,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  corollary: (
    name: "推论",
    counter_el: counter("thm-counter"),
    color: colors.theorem,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  axiom: (
    name: "公理",
    counter_el: counter("thm-counter"),
    color: colors.theorem,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  proposition: (
    name: "命题",
    counter_el: counter("prop-counter"),
    color: colors.proposition,
    numbered: true,
    numbering_level: 3,
    blocked: true,
  ),
  example: (
    name: "例",
    counter_el: counter("ex-counter"),
    color: colors.example,
    numbered: true,
    numbering_level: 3,
    blocked: false,
  ),
  problem: (
    name: "问题",
    counter_el: counter("ex-counter"),
    color: colors.problem,
    numbered: true,
    numbering_level: 3,
    blocked: false,
  ),
  exercise: (
    name: "练习",
    counter_el: counter("ex-counter"),
    color: colors.problem,
    numbered: true,
    numbering_level: 3,
    blocked: false,
  ),
  conclusion: (
    name: "结论",
    counter_el: counter("conc-counter"),
    color: colors.conclusion,
    numbered: true,
    numbering_level: 3,
    blocked: false,
  ),
  property: (
    name: "性质",
    counter_el: counter("conc-counter"),
    color: colors.conclusion,
    numbered: true,
    numbering_level: 3,
    blocked: false,
  ),
  note: (
    name: "注意",
    counter_el: counter("note-counter"),
    color: colors.note,
    numbered: false,
    numbering_level: 3,
    blocked: true,
  ),
  remark: (
    name: "评注",
    counter_el: counter("note-counter"),
    color: colors.note,
    numbered: false,
    numbering_level: 3,
    blocked: true,
  ),
  proof: (
    name: "证明",
    counter_el: counter("proof-counter"),
    color: colors.proof,
    numbered: false,
    numbering_level: 3,
    blocked: false,
  ),
  solution: (
    name: "解：",
    counter_el: counter("sol-counter"),
    color: colors.proof,
    numbered: false,
    numbering_level: 3,
    blocked: false,
  ),
)

